"""
功能描述 ：
编写人 ：
编写日期 ：
实现逻辑 ：
    1- ......
        1.1- ......
    2- ......
        2.1- ......
"""
# #多态
# class Dog():
#     def work(self):
#         print("指哪打哪")
# class ArmyDog(Dog):
#     def work(self):
#         print('追击敌人')
# class DrugDog(Dog):
#     def work(self):
#         print('查找毒品')
# class Person(object):
#     def work_with_dog(self,dog):
#         dog.work()
#
# ad = ArmyDog()
# dd = DrugDog()
# xiaoming = Person()
#
# xiaoming.work_with_dog(ad)
# xiaoming.work_with_dog(dd)
# #设置和访问类属性
# class Dog():
#     age = 12
# dahuang = Dog()
# wangcai = Dog()
# print(wangcai.age)
# print(dahuang.age)
# #修改类属性
# class Dog(object):
#     age = 12
# dahuang = Dog()
# wangcai = Dog()
# Dog.age = 13
# print(wangcai.age)
# print(dahuang.age)
#实例化属性
# class Dog(object):
#     def __init__(self):
#         self.age = 5
#     def _info_print(self):
#         print(self.age)
# wangcai = Dog()
# print(wangcai.age) # 5
# # print(Dog.age) # 报错：实例属性不能通过类访问
# #类方法使用场景
# class Dog(object):
#     __tooth = 10
#     @classmethod
#     def get_tooth(cls):
#         return cls.__tooth
# waicai = Dog
# result = wangcai.get_tooth()
# print(result)
# #静态方法使用场景
# class Dog(object):
#
#     @staticmethod
#     def info_print():
#         print('这是⼀个狗类，⽤于创建狗实例....')
# wangcai = Dog()
# # 静态⽅法既可以使⽤对象访问⼜可以使⽤类访问
# wangcai.info_print()
# Dog.info_print()
import requests
urls = 'https://www.kuaidi100.com/query'
payload = {}
